<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>头条 - {$Config.sitename}</title>
    <link rel="stylesheet" href="__CSS__/global.css" />
    <link rel="stylesheet" href="__CSS__/dongtai.css" />
    <Admintemplate file="Home/Public/global_js"/>
    <script src="__JS__/jquery.min.js"></script>
</head>

<body>

<div class="b-page">
<include file="Public:header" />
<a href="{$midad.linkurl}" class="b-banner_big" style="background-image: url(__FILESURL__{$midad.image});">{$midad.title}</a>
<div class="b-body l-center l-mgt20">
<div class="b-body__left">
    <div class="b-toutiaoTip">
        <p>每日头条，获得头条推荐的作品有更多的积分奖励哦！</p>
        <div class="b-toutiaoTip__closeBtn"><img src="__IMAGES__/toutiaoTip__closeBtn.jpg"></div>
    </div>
    <foreach name="catetj" item="ct">
    <div class="b-quanzi">
        <div class="b-quanzi__top">
            <span class="b-quanzi__name"><a href="__WEBURL__/category/{$ct.cateid}">{$ct.catename}</a></span>
            <span class="b-quanzi__time"><img src="__IMAGES__/icon_date.png" class="pic_mid">{$ct.create_time|date='Y年m月d日',###}</span>
            <span class="b-quanzi__user"><a href="__WEBURL__/u/{$ct.openuid}"><img src="{$ict.uavatar|getUavatar}" class="pic_mid">{$ct.nickname}</a></span>
            <span class="b-quanzi__stime">{$ct.create_time|format_time}分享</span>
        </div>
        <a href="__WEBURL__/works/{$ct.workid}" class="b-quanzi__left"><img src="__FILESURL__{$ct.image}"><i class="b-picMask"></i></a>
        <div class="b-quanzi__right">
            <div class="b-quanzi__title"><a href="__WEBURL__/works/{$ct.workid}" title="{$ct.title}">{$ct.title|str_cut=20}</a></div>
            <div class="b-quanzi__tagList">
                <span class="b-quanzi__tag"><img src="__IMAGES__/icon_quanzi_view.png" class="pic_mid">浏览{$ct.clicknum}次</span>
                <span class="b-quanzi__tag"><i class="b-messageIcon pic_mid"></i>{$ct.msgnum}</span>
                <span class="b-quanzi__tag"><i class="b-dingIcon pic_mid"></i>{$ct.goodnum}</span>
                <span class="b-quanzi__tag"><i class="b-caiIcon pic_mid"></i>{$ct.badnum}</span>
            </div>
            <div class="b-quanzi__content">
                {$ct.content|str_cut=120}
            </div>
        </div>
    </div>
    </foreach>

</div>
<div class="b-body__right">
<a href="{$righttopad.linkurl}" class="b-slideAdvert"><img src="__FILESURL__{$righttopad.image}"></a>
<div class="b-sideBox l-mgt20">
    <div class="b-sideBox__title">
        <div class="b-sideBox__name">焙友动态</div>
        <a href="__WEBURL__/member/dynamic" class="b-sideBox__more">更多>></a>
    </div>
    <foreach name="userDynamicData" item="udd">
        <div class="b-beiyouItem">
            <a href="__WEBURL__/u/{$udd.openuid}" class="b-beiyouItem__pic"><img src="{$udd.uavatar|getUavatar}"><i class="b-popOtherZuopin__itemMask"></i></a>
            <a href="__WEBURL__/u/{$udd.openuid}" class="b-beiyouItem__name">{$udd.nickname}</a>
            <div class="b-beiyouItem__info">
                {$udd.content}
            </div>
            <div class="b-beiyouItem__time">{$udd.create_time|format_time}</div>
        </div>
    </foreach>


</div>

<div class="b-sideBox l-mgt20">
    <div class="b-sideBox__title">
        <div class="b-sideBox__name">热门活动</div>
        <a href="__WEBURL__/activity" class="b-sideBox__more">更多>></a>
    </div>
    <foreach name="activitytj" item="at">
        <div class="b-sideBox__pat">
            <div class="b-sideBox__patLeft">
                <img src="__FILESURL__{$at.image}">
            </div>
            <div class="b-sideBox__patRight">
                <div class="b-sideBox__patT1">{$at.title|str_cut=8}</div>
                <div class="b-sideBox__patT2">{$at.summary|str_cut=8}</div>
                <if condition="$at.linkurl neq ''">
                    <a href="{$at.linkurl}" class="b-sideBox__patBtn"></a>
                    <else/>
                    <a href="__WEBURL__/activity/{$at.id}.html" class="b-sideBox__patBtn"></a>
                </if>
            </div>
        </div>
    </foreach>
    <foreach name="rightmidad" item="ira">
        <div class="b-sideBox__patBanner b-sideBox__patBanner_first">
            <a href="{$ira.linkurl}"><img src="__FILESURL__{$ira.image}"></a>
        </div>
    </foreach>

</div>

<div class="b-sideBox l-mgt20">
    <div class="b-sideBox__title">
        <div class="b-sideBox__name">分享达人</div>
    </div>
    <foreach name="sharedaren" item="sd">
        <div class="b-darenItem">
            <div class="b-darenItem__pic">
                <a href="__WEBURL__/u/{$sd.openuid}"><img src="{$sd.uavatar|getUavatar}"></a>
            </div>
            <div class="b-darenItem__info">
                <div class="b-darenItem__name"><a href="__WEBURL__/u/{$sd.openuid}">{$sd.nickname}</a></div>
                <div class="b-darenItem__guanzhu"><a href="">{$sd.attentionnum|getNullNum}关注</a></div>
                <div class="b-darenItem__zuopin"><a href="">{$sd.worksnum|getNullNum}个作品</a></div>
            </div>
            <if condition="$sd.isfans eq true">
                <a class="b-darenItem__btn R_ajax_link" data-info="userid,{$sd.userid}" data-url="do/cancelfans/">取消关注</a>
                <else/>
                <a class="b-darenItem__btn R_ajax_link" data-info="userid,{$sd.userid}" data-url="do/addfans/">关注</a>
            </if>
        </div>
    </foreach>

    <div class="b-sideBox__seeMore">
        <a href="__WEBURL__/member/daren">查看更多</a>
    </div>

</div>

</div>
</div>
<include file="Public:footer" />
</div>

<script src="__JS__/index.js"></script>
<script src="__JS__/jquery.common.js?v=20150101"></script>
<script src="__JS__/jquery.doajax.js"></script>

</body>
</html>